package com.cj.mobile.iabp.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.cj.mobile.iabp.mvp.contract.ArchiveInfoContract;
import com.jess.arms.di.component.AppComponent;
import com.cj.mobile.iabp.di.module.ArchiveInfoModule;

import com.jess.arms.di.scope.ActivityScope;
import com.cj.mobile.iabp.mvp.ui.activity.ArchiveInfoActivity;

/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 2025/10/01 21:52
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
@ActivityScope
@Component(modules = ArchiveInfoModule.class, dependencies = AppComponent.class)
public interface ArchiveInfoComponent {

    void inject(ArchiveInfoActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ArchiveInfoComponent.Builder view(ArchiveInfoContract.View view);

        ArchiveInfoComponent.Builder appComponent(AppComponent appComponent);

        ArchiveInfoComponent build();
    }

}